<?php
/**
 * Description of search
 * 
 * @author trangnguyen
 * @since Jan 2, 2014 - 10:02:53 AM
 */
/**
 * End of search
 */
?>
<!--Trang - tìm kiếm-->
<div class="breadcrumb">
    <a href="<?php echo Yii::app()->createUrl('site/index') ?>"><img src="<?php echo $this->assetDir . 'image/icon/home_icon.png' ?>"></a>&RightAngleBracket;
    <a href="#">Tim kiếm</a>
</div>
<div class="pro-wrap">
    <div id="search-infor">
        <p>Tìm thấy <b>"1852"</b> kết quả phù hợp với từ khóa "<b> a</b>"</p>
    </div>
    <?php
    for ($n = 1; $n < 8; $n++):
        $class = "pro-center";
        ?>
        <div class="pro-box fl <?php if ($n % 3 == 2) echo $class ?>">
            <div class="pro-name">
                <a href="<?php echo Yii::app()->createUrl('product/view') ?>">Lọ sinh phẩm</a>
            </div>
            <div class="pro-img">
                <a href="<?php echo Yii::app()->createUrl('product/view') ?>">
                    <img src="<?php echo $this->assetDir . 'image/img/pro-1.jpg' ?>">
                </a>
            </div>
            <div class="pro-price">
                <div class="price fl">Giá: 30.000đ</div>
                <div class="order fl"><a href="<?php echo Yii::app()->createUrl('order/cart') ?>">Đặt mua</a></div>
                <div class="clear"></div>
            </div>
        </div>
        <?php
        if ($n % 3 == 0)
        {
            echo'<div class="clear"></div>';
        }
        ?>
    <?php endfor; ?>
</div>